from typing import Optional

from fastapi import Query

from app.core.base_response import BaseResponse
from app.service import video_service
from app.validator.model import  VideoItem

async def create_video(model:VideoItem):
    await video_service.create(model)
    return BaseResponse.success()
